Camouflaged browsing is a method for bypassing censorship by using a covert channel. The goal of camouflaged browsing is not only to access blocked web sites anonymously, but also to hide the fact that any "forbidden" communication occurs. This project is a proof of concept implementation of camouflage browsing using Gmail and Gtalk services.
When you want to visit a web site using camouflage browsing, you send the web site URL to another user running a camouflage browsing server. The server download the requested page and send you back the page content to your email address. You can view the sent page directly in your Email client or in Gmail web interface, or use the camouflage browsing client to fetch the page from Gmail server and open it in your web browser.
The camouflage server provides a response in two formats:
You are invited to try our server at "camouflage.server@gmail.com" using email or chat.
Installation is required only if you want to run the camouflage client or server.
The archive includes both the client and the server for GNU/Linux, Mac OS X and Windows.
Stop the server or client and delete the freedom directory.
You may also delete the cache directory, located in "~/.freedom/cache" on GNU/Linux systems and Mac OS X, and "~\Application Data\freedom\cache" on Windows.
As all communication is done through emails, the email addresses is known to the communicating parties. Thus, you should use email addresses that do not expose your real identity.
If you want to run the camouflage client or server, you must enable IMAP support in your Gmail account:
In order to see the online status of the camouflage servers in your Gmail Chat contact list you should invite the server:
If the server is online, you will see the server address in your Chat contact list, marked with a green dot. If the server is offline, it will be marked as "invited". The server will accept your invitation when it logs in to Gtalk server, and it will appear in you Gmail Chat contact list whenever the server is online.
Camouflage browsing from a public computer does not require any installation. Use Gmail Chat to send a page URL to the server, and read the mail reply directly in Gmail web interface:
To visit links in the page, copy and paste them into the camouflage server chat window.
Big web pages may be clipped in Gmail web interface. In this case Gmail display [Message clipped] and a link: View entire message. Clicking this link will open the full page in a new window.
Running the camouflage client provides better browsing experience, opening the pages in your web browser.
When sending a page URL to the server, add the attach option: " -a" or " --attach" after the URL. When the server receive this option, it will send the page as attachment that can be opened in a browser.
To run the camouflage client, open a shell and type this command:
./freedom-client.py email-address
Now use Gmail to send requests to the server:
To visit links in the page, copy and paste them into the camouflage server chat window.
To stop the client, press Control+C. On Windows you may need to press Control+Break or close the window.
First setup a public Gmail email address for camouflage browsing serving. Do not use your regular email address. You should publish this email address so camouflage browsing users can access your server.
To start the server, open a shell and run this command:
./freedom-server.py public-email-address
When the server ask for password, enter email-address password.
To stop the server, press Control+C. On Windows you may need to press Control+Break or close the window.
Note: A user that runs a camouflage browsing server, may be considered responsible for traffic generated by camouflage clients. You should consult the recommendations for running a Tor exit node.
Copyright (c) 2011 Nir Soffer <nirsof@gmail.com>, Erez Waisbard <waisbard@gmail.com> Wget copyright (c) 2009 Free Software Foundation, Inc. BeautifulSoup copyright (c) 2004-2010, Leonard Richardson. xmpppy copyright (c) 2003-2005 Alexey "Snake" Nezhdanov. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program. If not, see <http://www.gnu.org/licenses/>.